import './util/polyfill'
import './assets/scss/index.scss'
import app from './index'
import { getQueryString } from './util/util'

async function init() {
  const token = getQueryString('token')
  if (token) {
    sessionStorage.setItem('APP_TOKEN', token)
  }

  // try {
  //   //
  // } catch (error) {
  //   console.log(error)
  // }

  app.$mount('#app')
}

init()
